package client;

public class ResponseMeasurement extends Measurement {
	String query;
	boolean success;

	public boolean getSuccess() {
		return success;
	}
	
	public ResponseMeasurement(int _clientID, long _start_time, long _stop_time, String _query, boolean _success)
	{
		super(_clientID, _start_time, _stop_time);
		query = _query;
		success = _success;
	}
	
	public String toString() {
		return "RESPONSE: " + clientID + "," + query + "," + start_time + "," + stop_time + "," + (success? "success" : "fail");
	}


}
